<?php
class Portfoliomanager_Data_Insertportfolioitemsettings implements Portfoliomanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO portfolio_settings(item_name, subcategory_name, status_name, access_level) values('".$variables['post']['item_name']."', '".$variables['post']['subcategory_name']."', '".$variables['post']['status_name']."', '".$variables['post']['access_level']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
